import { navbar } from "vuepress-theme-hope";

export const zhNavbar = navbar([
  "/zh/",
  {
    text: "JAVA笔记",
    icon: "java",
    prefix: "/zh/java/",
    children: [
      {
        text: "微服务",
        prefix: "springcloud/",
        children: [
          { text: "SpringCloud", link: "springcloud" },
          { text: "Java8特性", link: "java8" },
        ],

      },
      {
        text: "数据库",
        prefix: "db/",
        children: [
          { text: "MySQL", link: "mysql" },
          { text: "Redis", link: "redis" },
          { text: "Elasticsearch", link: "es" },
          { text: "Mongo", link: "mongo" },
        ],
      },
      {
        text: "运维",
        prefix: "opex/",
        children: [
          { text: "Docker", link: "docker" },
        ],
      },
    ],
  },
  {
    text: "项目笔记",
    icon: "alias",
    prefix: "/zh/project/",
    children: [
      { text: "谷粒商城", link: "gulimall" },
    ],
  },
  {
    text: "大前端！",
    icon: "discover",
    prefix: "/zh/front/",
    children: [
      { text: "vue", link: "vue" },
    ],
  },
]);
